package com.dada.tiku.service;

import java.util.List;

import com.dada.tiku.pojo.DicItem;
import com.dada.tiku.utils.WxResult;

public interface DictionaryService {

	WxResult selectAllDicts(Integer start, Integer count);

	DicItem findDictDetail(Integer id);

	WxResult connectionDic(Integer id, String openid);

	WxResult cancelConnection(Integer id, String openid);

	WxResult addErrorDic(Integer id, String openid);

	WxResult removeErrorDic(Integer id, String openid);

	WxResult queryDictByKeywords(String keywords,Integer start,Integer count);

	List<DicItem> queryByCategory(String categoryname,Integer start,Integer count);

	WxResult getConnectionList(String openid, Integer start, Integer count);

	WxResult getErrorList(String openid, Integer start, Integer count);

	WxResult isCollection(Integer id, String openid);

	WxResult isError(Integer id, String openid);


}
